﻿<Window x:Class="XWord.GUI.Views.Words.DictManagerView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:info="http://schemas.xword.com/winfx/xaml/info"
        Title="DictManagerView" Height="300" Width="300">
    <Grid>
        <StackPanel>
            <info:OrderingItemsButtons TargetElement="{Binding ElementName=Element_Presenter}"/>
            <ListView x:Name="Element_Presenter" ItemsSource="{Binding PresenterList}">
            <ListView.View>

                <GridView AllowsColumnReorder="true">

                        <GridViewColumn
                      Header="启用" Width="40">
                        <GridViewColumn.CellTemplate>
                            <DataTemplate>
                                    <CheckBox IsChecked="{Binding OnService}"></CheckBox>
                            </DataTemplate>
                        </GridViewColumn.CellTemplate>
                    </GridViewColumn>

                    <GridViewColumn DisplayMemberBinding=
                          "{Binding Path=DisplayName}" Header="名称" 
                      Width="100">
                       
                    </GridViewColumn>
                </GridView>

            </ListView.View>

        </ListView>
        </StackPanel>
    </Grid>
</Window>
